package coffee.provider.bean;

import java.util.Date;

import coffee.sqlite.annotation.Bean;
import coffee.sqlite.annotation.Column;
import coffee.sqlite.annotation.Id;

@Bean(name="msg_history")
public class MsgHistory {
	@Id
	@Column(name = "_id")
	private int id;
	private Date ts;
	private Date expored;
	@Column(name = "receiver_uid")
	private int receiverUid;
	private String message;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getTs() {
		return ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	public Date getExpored() {
		return expored;
	}

	public void setExpored(Date expored) {
		this.expored = expored;
	}

	public int getReceiverUid() {
		return receiverUid;
	}

	public void setReceiverUid(int receiverUid) {
		this.receiverUid = receiverUid;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
